package com.socialbank.web.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.socialbank.web.FinanceBean.BankFund;

public interface BankFundMapper {
	public void save(List<BankFund> funds);
	public BankFund findById(String id);
	public List<BankFund> getList(@Param(value = "deptId") Long deptId,@Param(value = "fundType") String fundType);
	public void deleteById(List<String> ids);
	public void deleteByName(BankFund bankFund);
	public List<String> getNameList(Long deptId);
	public List<BankFund> getListAll(int deptId);
	public List<BankFund> getListByTypes(@Param(value = "deptId") String deptId,@Param(value = "types") List<String> types,@Param(value = "riskType") String riskType,@Param(value = "size") int size);
}
